package cn.tedu.method;

public class Test5_Overload2 {
    public static void main(String[] args) {
        print(10);
        print(1.1);
        print("渣渣辉");
        print(true);
    }
    public static void print(int a){
        System.out.println(a);
    }
    public static void print(double a){
        System.out.println(a);
    }
    public static void print(String a){
        System.out.println(a);
    }
    public static void print(boolean a){
        System.out.println(a);
    }
}
